const currentDate = new Date();
const year = currentDate.getFullYear();
const month = currentDate.getMonth() + 1; 
const date = currentDate.getDate();

console.log(`当前日期是${year}年${month}月${date}日`);
